<!DOCTYPE html>
<html>
<head>
    <title>Lin Li</title>
</head>

<body>
<div>
 <table class="table  table-hover">
   <thead>
      <tr>
        <th>用户名</th>
        <th>密码</th>
        <th>上线权限</th>
        <th>当前状态</th>
      </tr>
   </thead>
   <tbody>
      
   
      {{ range .}}
	   if({{.Online}}="online"){
      <tr>
         <td >{{.Username}}</td>
         <td >{{.Password}}</td>
         <td >{{.Online}} </td>
       </tr>
  {{end}}

   </tbody>
   </table>
</div>
</body>
</html>